

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import 'bootstrap/dist/css/bootstrap.css'
import { createPinia } from 'pinia'//加入Pinia引入
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

//创建Pinia实例
const app = createApp(App)

const pinia=createPinia();

//通过use完成Pinia挂载
app.use(pinia);

app.use(router)

app.mount('#app')
